package cn.iocoder.yudao.module.cms.agreement.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.time.LocalDateTime;

@Tag(name = "协议规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AgreementRespVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11427")
    @ExcelProperty("唯一编号")
    private Long id;

    @Schema(description = "标识，如：about_us-关于我们、service_agreement-服务协议、privacy_policy-隐私政策、……", requiredMode = Schema.RequiredMode.REQUIRED, example = "about_us")
    @ExcelProperty("标识")
    private String identify;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "关于我们")
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
